<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>

<div class="pageContent">
    <form action="${ctx }/config/updateConfig" method="post"
          onsubmit="return validateCallback(this,dialogAjaxDone);">
          <input name="id" type="hidden" value = "${config.id }" />
        <div class="pageFormContent" layoutH="56">
            <p>
                <label>配置名称：</label>
                <input type="text" name="key" class="required" value = "${config.keyword }" maxlength="100"/>
            </p>

            <div class="divider"></div>
            <p>
                <label>配置值：</label>
                <input type="text" name="value" class="required" value = "${config.val }" maxlength="100"/>
            </p>

            
            <div class="divider"></div>
            <p>
                <label>配置描述：</label>
                <textarea rows="10" name="descr" class="required" cols="50">${config.descr }</textarea>
            </p>

            <div class="divider"></div>
        </div>
        <div class="formBar">
            <ul>
                <li>
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit">保存</button>
                        </div>
                    </div>
                </li>
                <li>
                    <div class="button">
                        <div class="buttonContent">
                            <button type="button" class="close">取消</button>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </form>
</div>

